<div class="am-u-sm-12 widget main-w" >
	<ol class="am-breadcrumb">
		<li><a href="{:url('/admin/index')}">首页</a></li>
		<li><a href="{:url('/admin/car/index')}">业务管理</a></li>
		<li><a href="{:url('index')}">公司管理</a></li>
		<li><a href="{:url('index')}">用车公司管理</a></li>
		<li class="am-active">{$item.car_use_id?用车公司编辑:添加用车公司}</li>
	</ol>
	<form class="am-form-inline tpl-form-border-form" data-ajax="1" data-check="1">
		<input type="hidden" name="car_use_id" value="{$item.car_use_id}" />
		<div class="am-u-sm-12" style="margin-bottom:10px ;">
			<div class="am-u-sm-8">
				<label for="user-name" class="am-u-sm-3 am-form-label cl-p" style="line-height: 35px;">公司名称： </label>
				<div class="am-form-group am-u-sm-9 cl-p">
					<div class="am-u-sm-12 cl-p">
						<input type="text" class="tpl-form-input" name="name" data-check='require' data-msg="公司名称不能为空" value="{$item.name}" style="line-height: 21px;" />
					</div>
				</div>
			</div>
		</div>
		<div class="am-u-sm-12" style="margin-bottom:10px ;">
			<div class="am-u-sm-6">
				<label for="user-name" class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">来源类型： </label>
				<div class="am-form-group am-u-sm-8 cl-p">
					<div class="am-u-sm-12 cl-p">
						<select name="car_use_type" multiple data-am-selected="{btnWidth: '100%'}">
							{$car_use_types}
						</select>
					</div>
				</div>
			</div>
		</div>
		<div class="am-u-sm-12" style="margin-bottom:10px ;">
			<div class="am-u-sm-6">
				<label for="user-name" class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">公司简称： </label>
				<div class="am-form-group am-u-sm-8 cl-p">
					<div class="am-u-sm-12 cl-p">
						<input type="text" class="tpl-form-input" name="abbreviation"  data-check='require' data-msg="公司简称不能为空"  value="{$item.abbreviation}" style="line-height: 21px;" />
					</div>
				</div>
			</div>
		</div>
		<div class="am-u-sm-12" style="margin-bottom:10px ;">
			<div class="am-u-sm-6">
				<label for="user-name" class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">公司代码： </label>
				<div class="am-form-group am-u-sm-8 cl-p">
					<div class="am-u-sm-12 cl-p">
						<input type="text" class="tpl-form-input" name="code" value="{$item.code}"  data-check='require' data-msg="公司代码不能为空"  style="line-height: 21px;" />
					</div>
				</div>
			</div>
		</div>
		<div class="am-u-sm-12" style="margin-bottom:10px ;">
			<div class="am-u-sm-6">
				<label for="user-name" class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">登录账号： </label>
				<div class="am-form-group am-u-sm-8 cl-p">
					<div class="am-u-sm-12 cl-p">
						<input type="text" class="tpl-form-input" name="account" value="{$item.account}"  data-check='require' data-msg="登录账号不能为空"  style="line-height: 21px;" />
					</div>
				</div>
			</div>
		</div>
		<div class="am-u-sm-12" style="margin-bottom:10px ;">
			<div class="am-u-sm-6">
				<label for="user-name" class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">对账账号： </label>
				<div class="am-form-group am-u-sm-8 cl-p">
					<div class="am-u-sm-12 cl-p">
						<input type="text" class="tpl-form-input" name="account" value="{$item.account}"  data-check='require' data-msg="对账账号不能为空"  style="line-height: 21px;" />
					</div>
				</div>
			</div>
		</div>
		
		
		
		<div class="am-u-sm-12" style="margin-bottom:10px ;">
			<div class="am-u-sm-6">
				<label for="user-name" class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">联系人： </label>
				<div class="am-form-group am-u-sm-8 cl-p">
					<div class="am-u-sm-12 cl-p">
						<input type="text" class="tpl-form-input" name="contacts"  data-check='require' data-msg="联系人不能为空"  value="{$item.contacts}" style="line-height: 21px;" />
					</div>
				</div>
			</div>
		</div>
		<div class="am-u-sm-12" style="margin-bottom:10px ;">
			<div class="am-u-sm-6">
				<label for="user-name" class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">联系电话： </label>
				<div class="am-form-group am-u-sm-8 cl-p">
					<div class="am-u-sm-12 cl-p">
						<input type="text" class="tpl-form-input" name="phone"  data-check='require' data-msg="联系电话不能为空"  value="{$item.phone}" style="line-height: 21px;" />
					</div>
				</div>
			</div>
		</div>
		<div class="am-u-sm-12" style="margin-bottom:10px ;">
			<div class="am-u-sm-8">
				<div class="am-u-sm-6">
					<label for="user-name" class="am-u-sm-6 am-form-label cl-p" style="line-height: 35px;">是否签约： </label>
					<div class="am-form-group am-u-sm-6 cl-p">
						<div class="am-u-sm-12 cl-p" style="line-height: 35px;">
							<input type="radio" name="sign" value="option1" checked>是
							<input type="radio" name="sign" value="option1">否
						</div>
					</div>
				</div>
				<div class="am-u-sm-6">
					<label for="user-name" class="am-u-sm-6 am-form-label cl-p" style="line-height: 35px;">是否可开专票： </label>
					<div class="am-form-group am-u-sm-6 cl-p">
						<div class="am-u-sm-12 cl-p" style="line-height: 35px;">
							<input type="radio" name="special_ticket" value="option1" checked>是
							<input type="radio" name="special_ticket" value="option1">否
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="am-u-sm-12" style="margin-bottom:10px ;">
			<div class="am-u-sm-8">
				
				<div class="am-u-sm-6">
					<label  class="am-u-sm-6 am-form-label am-text-truncate cl-p" style="line-height: 35px;">打车是否不受支付限制： </label>
					<div class="am-form-group am-u-sm-6 cl-p">
						<div class="am-u-sm-12 cl-p" style="line-height: 35px;">
							<input type="radio" name="is_limit" value="option1" checked>是
							<input type="radio" name="is_limit" value="option1">否
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="am-u-sm-12" style="margin-bottom:10px ;">
			<div class="am-u-sm-12 cl-p">
				<label for="user-weibo" class="am-u-sm-2 am-form-label cl-p">营业执照照片:</label>
				<div class="am-u-sm-10 cl-p">

					<div class="am-form-group am-u-sm-3 ">

						<div class="am-u-sm-10 am-margin-top-xs">
							<div class="am-form-group am-form-file showimg">
								<div class="tpl-form-file-img">
									<img src="{:CxImg($item.head_portrait)}" alt="营业执照">
								</div>
								<button type="button" class="am-btn am-btn-danger am-btn-sm "><i class="am-icon-cloud-upload"></i> 添加照片</button>
								<input id="doc-form-file" type="file" name="head_portrait">
							</div>

						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="am-u-sm-12" style="margin-bottom:10px ;">
			<div class="am-u-sm-8">
				<label for="user-name" class="am-u-sm-3 am-form-label cl-p" style="line-height: 35px;">地址： </label>
				<div class="am-form-group am-u-sm-9 cl-p">
					<div class="am-u-sm-12 cl-p">
						<input type="text" class="tpl-form-input" name="address" value="{$item.address}"  data-check='require' data-msg="地址不能为空"  style="line-height: 21px;" />
					</div>
				</div>
			</div>
		</div>
		<div class="am-u-sm-12" style="margin-bottom:10px ;">
			<div class="am-u-sm-8">
				<label for="user-name" class="am-u-sm-3 am-form-label cl-p" style="line-height: 35px;">备注： </label>
				<div class="am-form-group am-u-sm-9 cl-p">
					<div class="am-u-sm-12 cl-p">
						<textarea class="" rows="10" name="ps" >{$item.ps}</textarea>
					</div>
				</div>
			</div>
		</div>
		<div class="am-u-sm-12" style="margin-bottom:10px;">
			<div class="am-u-sm-4">&nbsp;</div>
			<div class="am-u-sm-4">
				<button type="button" class="am-btn am-btn-sm am-btn-primary tpl-btn-bg-color-success keep">保存</button>
				<button type="button" class="am-btn am-btn-sm am-btn-danger tpl-btn-bg-color-success back">返回</button>
			</div>
			<div class="am-u-sm-4">&nbsp;</div>
		</div>
	</form>
</div>